package com.ruoyi.dangerControl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 隐患-过程管理对象 hd_process
 *
 * @author lth
 * @date 2023-12-13
 */
public class HdProcess extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 巡检任务路线id */
    @Excel(name = "巡检任务路线id")
    private Long routeTaskId;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String name;

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 地理位置id */
    @Excel(name = "地理位置id")
    private String placeId;

    /** 地理位置 */
    @Excel(name = "地理位置")
    private String place;

    /** 详细位置 */
    @Excel(name = "详细位置")
    private String placeDes;

    /** 隐患内容 */
    @Excel(name = "隐患内容")
    private String content;

    /** 负责人id */
    @Excel(name = "负责人id")
    private String headerId;

    /** 负责人 */
    @Excel(name = "负责人")
    private String headerName;

    /** 隐患类别id */
    @Excel(name = "隐患类别id")
    private String typeId;

    /** 隐患类别名称 */
    @Excel(name = "隐患类别名称")
    private String typeName;

    /** 隐患等级id */
    @Excel(name = "隐患等级id")
    private String levelId;

    /** 隐患等级 */
    @Excel(name = "隐患等级")
    private String levelName;

    /** 整改单位id */
    @Excel(name = "整改单位id")
    private String rectificationDeptId;

    /** 整改单位 */
    @Excel(name = "整改单位")
    private String rectificationDept;

    /** 整改期限 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "整改期限", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deadline;

    /** 整改措施 */
    @Excel(name = "整改措施")
    private String rectificationMeasure;

    /** 整改责任人id */
    @Excel(name = "整改责任人id")
    private String rectificationHeaderId;

    /** 整改责任人 */
    @Excel(name = "整改责任人")
    private String rectificationHeaderName;

    /** 整改日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "整改日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rectificationDate;

    /** 整改状态，默认0（0:待治理；1:待验收；2:已验收） */
    @Excel(name = "整改状态，默认0", readConverterExp = "0=:待治理；1:待验收；2:已验收")
    private String rectificationStatus;

    /** 所属班组id */
    @Excel(name = "所属班组id")
    private String groupId;

    /** 所属班组 */
    @Excel(name = "所属班组")
    private String groupName;

    /** 记录人id */
    @Excel(name = "记录人id")
    private String recordBy;

    /** 记录人 */
    @Excel(name = "记录人")
    private String recordByName;

    /** 记录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recordAt;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createByName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateByName;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    /** 排序 */
    @Excel(name = "排序")
    private Long sorting;

    /** 版本 */
    @Excel(name = "版本")
    private String version;

    /** 状态, 默认1(1:正常；2:冻结；98:关闭；99:删除)； */
    @Excel(name = "状态, 默认1(1:正常；2:冻结；98:关闭；99:删除)；")
    private Long status;

    /** 验收状态 */
    @Excel(name = "验收状态")
    private Long acceptanceStatus;

    /** 验收人id */
    @Excel(name = "验收人id")
    private String acceptanceBy;

    /** 验收人 */
    @Excel(name = "验收人")
    private String acceptanceByName;

    /** 验收时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "验收时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date acceptanceAt;

    /** 验收意见 */
    @Excel(name = "验收意见")
    private String acceptanceOpinion;

    /** 当前执行环节id */
    @Excel(name = "当前执行环节id")
    private String currentNodeId;

    /** 当前执行环节 */
    @Excel(name = "当前执行环节")
    private String currentNode;

    /** 当前执行人id */
    @Excel(name = "当前执行人id")
    private String currentNodeBy;

    /** 当前执行人 */
    @Excel(name = "当前执行人")
    private String currentNodeByName;

    /** 整改超时（0:延期整改; 1:按期整改） */
    @Excel(name = "整改超时", readConverterExp = "0=:延期整改;,1=:按期整改")
    private Long rectificationIsOutTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setRouteTaskId(Long routeTaskId)
    {
        this.routeTaskId = routeTaskId;
    }

    public Long getRouteTaskId()
    {
        return routeTaskId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setPlaceId(String placeId)
    {
        this.placeId = placeId;
    }

    public String getPlaceId()
    {
        return placeId;
    }
    public void setPlace(String place)
    {
        this.place = place;
    }

    public String getPlace()
    {
        return place;
    }
    public void setPlaceDes(String placeDes)
    {
        this.placeDes = placeDes;
    }

    public String getPlaceDes()
    {
        return placeDes;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setHeaderId(String headerId)
    {
        this.headerId = headerId;
    }

    public String getHeaderId()
    {
        return headerId;
    }
    public void setHeaderName(String headerName)
    {
        this.headerName = headerName;
    }

    public String getHeaderName()
    {
        return headerName;
    }
    public void setTypeId(String typeId)
    {
        this.typeId = typeId;
    }

    public String getTypeId()
    {
        return typeId;
    }
    public void setTypeName(String typeName)
    {
        this.typeName = typeName;
    }

    public String getTypeName()
    {
        return typeName;
    }
    public void setLevelId(String levelId)
    {
        this.levelId = levelId;
    }

    public String getLevelId()
    {
        return levelId;
    }
    public void setLevelName(String levelName)
    {
        this.levelName = levelName;
    }

    public String getLevelName()
    {
        return levelName;
    }
    public void setRectificationDeptId(String rectificationDeptId)
    {
        this.rectificationDeptId = rectificationDeptId;
    }

    public String getRectificationDeptId()
    {
        return rectificationDeptId;
    }
    public void setRectificationDept(String rectificationDept)
    {
        this.rectificationDept = rectificationDept;
    }

    public String getRectificationDept()
    {
        return rectificationDept;
    }
    public void setDeadline(Date deadline)
    {
        this.deadline = deadline;
    }

    public Date getDeadline()
    {
        return deadline;
    }
    public void setRectificationMeasure(String rectificationMeasure)
    {
        this.rectificationMeasure = rectificationMeasure;
    }

    public String getRectificationMeasure()
    {
        return rectificationMeasure;
    }
    public void setRectificationHeaderId(String rectificationHeaderId)
    {
        this.rectificationHeaderId = rectificationHeaderId;
    }

    public String getRectificationHeaderId()
    {
        return rectificationHeaderId;
    }
    public void setRectificationHeaderName(String rectificationHeaderName)
    {
        this.rectificationHeaderName = rectificationHeaderName;
    }

    public String getRectificationHeaderName()
    {
        return rectificationHeaderName;
    }
    public void setRectificationDate(Date rectificationDate)
    {
        this.rectificationDate = rectificationDate;
    }

    public Date getRectificationDate()
    {
        return rectificationDate;
    }
    public void setRectificationStatus(String rectificationStatus)
    {
        this.rectificationStatus = rectificationStatus;
    }

    public String getRectificationStatus()
    {
        return rectificationStatus;
    }
    public void setGroupId(String groupId)
    {
        this.groupId = groupId;
    }

    public String getGroupId()
    {
        return groupId;
    }
    public void setGroupName(String groupName)
    {
        this.groupName = groupName;
    }

    public String getGroupName()
    {
        return groupName;
    }
    public void setRecordBy(String recordBy)
    {
        this.recordBy = recordBy;
    }

    public String getRecordBy()
    {
        return recordBy;
    }
    public void setRecordByName(String recordByName)
    {
        this.recordByName = recordByName;
    }

    public String getRecordByName()
    {
        return recordByName;
    }
    public void setRecordAt(Date recordAt)
    {
        this.recordAt = recordAt;
    }

    public Date getRecordAt()
    {
        return recordAt;
    }
    public void setCreateByName(String createByName)
    {
        this.createByName = createByName;
    }

    public String getCreateByName()
    {
        return createByName;
    }
    public void setCreateAt(Date createAt)
    {
        this.createAt = createAt;
    }

    public Date getCreateAt()
    {
        return createAt;
    }
    public void setUpdateByName(String updateByName)
    {
        this.updateByName = updateByName;
    }

    public String getUpdateByName()
    {
        return updateByName;
    }
    public void setUpdateAt(Date updateAt)
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt()
    {
        return updateAt;
    }
    public void setSorting(Long sorting)
    {
        this.sorting = sorting;
    }

    public Long getSorting()
    {
        return sorting;
    }
    public void setVersion(String version)
    {
        this.version = version;
    }

    public String getVersion()
    {
        return version;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setAcceptanceStatus(Long acceptanceStatus)
    {
        this.acceptanceStatus = acceptanceStatus;
    }

    public Long getAcceptanceStatus()
    {
        return acceptanceStatus;
    }
    public void setAcceptanceBy(String acceptanceBy)
    {
        this.acceptanceBy = acceptanceBy;
    }

    public String getAcceptanceBy()
    {
        return acceptanceBy;
    }
    public void setAcceptanceByName(String acceptanceByName)
    {
        this.acceptanceByName = acceptanceByName;
    }

    public String getAcceptanceByName()
    {
        return acceptanceByName;
    }
    public void setAcceptanceAt(Date acceptanceAt)
    {
        this.acceptanceAt = acceptanceAt;
    }

    public Date getAcceptanceAt()
    {
        return acceptanceAt;
    }
    public void setAcceptanceOpinion(String acceptanceOpinion)
    {
        this.acceptanceOpinion = acceptanceOpinion;
    }

    public String getAcceptanceOpinion()
    {
        return acceptanceOpinion;
    }
    public void setCurrentNodeId(String currentNodeId)
    {
        this.currentNodeId = currentNodeId;
    }

    public String getCurrentNodeId()
    {
        return currentNodeId;
    }
    public void setCurrentNode(String currentNode)
    {
        this.currentNode = currentNode;
    }

    public String getCurrentNode()
    {
        return currentNode;
    }
    public void setCurrentNodeBy(String currentNodeBy)
    {
        this.currentNodeBy = currentNodeBy;
    }

    public String getCurrentNodeBy()
    {
        return currentNodeBy;
    }
    public void setCurrentNodeByName(String currentNodeByName)
    {
        this.currentNodeByName = currentNodeByName;
    }

    public String getCurrentNodeByName()
    {
        return currentNodeByName;
    }
    public void setRectificationIsOutTime(Long rectificationIsOutTime)
    {
        this.rectificationIsOutTime = rectificationIsOutTime;
    }

    public Long getRectificationIsOutTime()
    {
        return rectificationIsOutTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("routeTaskId", getRouteTaskId())
            .append("name", getName())
            .append("code", getCode())
            .append("placeId", getPlaceId())
            .append("place", getPlace())
            .append("placeDes", getPlaceDes())
            .append("content", getContent())
            .append("headerId", getHeaderId())
            .append("headerName", getHeaderName())
            .append("typeId", getTypeId())
            .append("typeName", getTypeName())
            .append("levelId", getLevelId())
            .append("levelName", getLevelName())
            .append("rectificationDeptId", getRectificationDeptId())
            .append("rectificationDept", getRectificationDept())
            .append("deadline", getDeadline())
            .append("rectificationMeasure", getRectificationMeasure())
            .append("rectificationHeaderId", getRectificationHeaderId())
            .append("rectificationHeaderName", getRectificationHeaderName())
            .append("rectificationDate", getRectificationDate())
            .append("rectificationStatus", getRectificationStatus())
            .append("groupId", getGroupId())
            .append("groupName", getGroupName())
            .append("recordBy", getRecordBy())
            .append("recordByName", getRecordByName())
            .append("recordAt", getRecordAt())
            .append("createBy", getCreateBy())
            .append("createByName", getCreateByName())
            .append("createAt", getCreateAt())
            .append("updateBy", getUpdateBy())
            .append("updateByName", getUpdateByName())
            .append("updateAt", getUpdateAt())
            .append("sorting", getSorting())
            .append("remark", getRemark())
            .append("version", getVersion())
            .append("status", getStatus())
            .append("acceptanceStatus", getAcceptanceStatus())
            .append("acceptanceBy", getAcceptanceBy())
            .append("acceptanceByName", getAcceptanceByName())
            .append("acceptanceAt", getAcceptanceAt())
            .append("acceptanceOpinion", getAcceptanceOpinion())
            .append("currentNodeId", getCurrentNodeId())
            .append("currentNode", getCurrentNode())
            .append("currentNodeBy", getCurrentNodeBy())
            .append("currentNodeByName", getCurrentNodeByName())
            .append("rectificationIsOutTime", getRectificationIsOutTime())
            .toString();
    }
}
